package ru.stepanovdn.trading.server.strategy

import com.google.common.collect.ImmutableMap
import org.springframework.stereotype.Component

@Component
class BuyP40AndTP1PercentAndSL3PercentStrategy : AInstrumentByFiatStrategy() {
    override val buyCriteria: BuyCriteria
        get() = BuyCriteria(lessThenPercentile = 40)

    override val sellCriteria: SellCriteria
        get() = SellCriteria(takeProfitPercent = 1f, stopLossPercent = 3f)

    override val figies: Map<String?, Int?>
        get() = ImmutableMap.Builder<String, Int>()
            .put("BBG004730JJ5", 10) // Московская биржа
            .build()

    override val isEnabled: Boolean
        get() = false

}
